package com.newasia.shopping.dal.entitys.returnValue;


import com.alibaba.fastjson.JSON;

import java.io.Serializable;
import java.util.List;

public class ItemSpecOption  implements Serializable {

    private Long id;

    private String specName;

    private String skuSpecListId;

    List<Long> specIds;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public String getSkuSpecListId() {
        return skuSpecListId;
    }

    public void setSkuSpecListId(String skuSpecListId) {
        this.skuSpecListId = skuSpecListId;
    }

    public List<Long> getSpecIds() {
        return JSON.parseArray(this.skuSpecListId,Long.class);
    }

    public void setSpecIds(List<Long> specIds) {
        this.skuSpecListId = JSON.toJSONString(specIds);
    }

}
